package testcases;

import org.testng.annotations.Test;
import base.BaseDriver;
import pages.AddPage;


public class AddTest extends BaseDriver{

	@Test(priority=1)
	public void Loginsuccess() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.login();
	}
	@Test(priority=2)
	public void addnewchat() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.addnewchat();
	}
	@Test(priority=3)
	public void cancelnewchat() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.cancelnewchat();
	}
	@Test(priority=4)
	public void chatwithadmin() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.chatwithadmin();
	}
	@Test(priority=5)
	public void chatwithhzs() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.chatwithhzs();
	}
	@Test(priority=6)
	public void searchhzs() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.searchhzs();
	}
	@Test(priority=7)
	public void chatwithsystem() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.chatwithsystem();
	}
	@Test(priority=8)
	public void searchhzs2() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.searchhzs2();
	}
	@Test(priority=9)
	public void chatwithchat() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.chatwithchat();
	}
	@Test(priority=10)
	public void showmembers() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.showmembers();
	}
	@Test(priority=11)
	public void collectChat() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.collectChat();
	}
	@Test(priority=12)
	public void cancelcollectChat() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.cancelcollectChat();
	}
	@Test(priority=13)
	public void renamedChat() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.renamedChat();
	}
	@Test(priority=14)
	public void sendPicture() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.sendPicture();
	}
	@Test(priority=15)
	public void showPhoto() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.showPhoto();
	}
	@Test(priority=16)
	public void takePhoto() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.takePhoto();
	}
	@Test(priority=17)
	public void canceltakePhoto() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.canceltakePhoto();
	}
	@Test(priority=18)
	public void retakePhoto() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.retakePhoto();
	}
	@Test(priority=19)
	public void sendFile() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.sendFile();
	}
	@Test(priority=20)
	public void girdline() throws InterruptedException {
		AddPage addPage = new AddPage(driver);
		addPage.girdline();
	}
	
}
